import request from "@/utils/request";

export const getProjectAPI = async () => await request.get("/api/project");
export const editProjectAPI = async (id, data) =>
  await request.put(`/api/project/${id}`, data);

export const deleteProjectAPI = async (id) =>
  await request.delete(`/api/project/${id}`);

export const addProjectAPI = async (data) =>
  await request.post("/api/project", data);
